package com.hr.classes.service;

import com.hr.classes.entity.base.TableListDTO;
import com.hr.classes.entity.dto.TbWorkRecordDTO;
import com.hr.classes.entity.dto.TbWorkRecordStatisticsDTO;
import com.hr.classes.entity.po.TbWorkRecordPO;
import com.hr.classes.entity.vo.TbWorkRecordStatisticsVO;
import com.hr.classes.entity.vo.TbWorkRecordVO;
import com.hr.common.retrun.R;

import java.util.List;

/**
 * <pre>
 * 描述：TODO
 * </pre>
 *
 * @类名：com.hr.classes.service.TbWorkRecordService
 * @创建日期: 2024/5/7 21:23
 */
public interface TbWorkRecordService {

    TableListDTO<TbWorkRecordDTO> getList(TbWorkRecordVO tbWorkRecordVO);

    Integer add(TbWorkRecordVO tbWorkRecordVO);

    TbWorkRecordDTO get(Integer id);

    Integer update(TbWorkRecordVO tbWorkRecordVO);

    Integer deletes(List<Integer> ids);

    List<TbWorkRecordPO> getListPO(TbWorkRecordVO tbWorkRecordVO);

    TableListDTO<TbWorkRecordStatisticsVO> statistics(TbWorkRecordStatisticsDTO tbWorkRecordStatisticsDTO);

    R inClockOK(TbWorkRecordDTO tbWorkRecordDTO);

    R getTodayClockInfo(TbWorkRecordDTO tbWorkRecordDTO);
}
